package cn.ibizlab.core.oauth2.constants;

/**
 * OAuth2常量
 */
public class OAuth2Constant {
    public static final String PREDEFINE_CLIENTDETAILS_ID = "ibzuaa";
    public static final String PREDEFINE_CLIENTDETAILS_GRANTTYPE_PASSWORD = "password";
    public static final String PREDEFINE_CLIENTDETAILS_GRANTTYPE_REFRESH_TOKEN = "refresh_token";
    public static final String PREDEFINE_CLIENTDETAILS_GRANTTYPE_AUTHORIZATION_CODE = "authorization_code";
    public static final String PREDEFINE_CLIENTDETAILS_SCOPES = "all";
    public static final String REQUEST_PARAM_GRANTTYPE_PASSWORD = "password";
    public static final String REQUEST_PARAM_GRANTTYPE = "grant_type";
    public static final String REQUEST_PARAM_USERNAME = "username";
    public static final String REQUEST_PARAM_CLIENT_ID = "client_id";

    private OAuth2Constant() {

    }
}
